package edu.scau.divineplace.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import edu.scau.divineplace.entity.enums.ContentTypeEnum;
import edu.scau.divineplace.entity.enums.RoleTruthEnum;
import edu.scau.divineplace.entity.enums.RoleTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("SearchResultVO")
public class SearchResultVO {

    @ApiModelProperty("内容id")
    private Long id;

    @ApiModelProperty("内容类型，1漫画、2动漫、3游戏、4音乐、5人物")
    private ContentTypeEnum type;

    @ApiModelProperty("原名")
    private String originalName;

    @ApiModelProperty("中文名")
    private String chineseName;

    @ApiModelProperty("开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("内容介绍简介")
    private String introductionText;

    @ApiModelProperty("内容介绍图片")
    private String introductionImg;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("排名")
    private Integer rank;

    @ApiModelProperty("非人物才有，评分，保留小数点后一位")
    private Double score;

    @ApiModelProperty("非人物才有，评分人数")
    private Integer scorePeople;

    @ApiModelProperty("人物才有，是否真实人物")
    private Boolean isReal;

    @ApiModelProperty("收藏人数")
    private Integer favoriteNum;

    @ApiModelProperty("用户是否收藏")
    private Boolean isFavorite;

}
